export const isObject = (val) => typeof val === 'object' && val !== null